package com.work.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.work.dao.StudentDao;
import com.work.entity.TeacherEntity;
import com.work.service.StudentService;




/**
 * @Service
 * @author zsrt
 *
 */
@Service
public class StudentServiceImpl implements StudentService {
	
	
	/**
	 * 注入依赖对象
	 */
	
	@Autowired
	private StudentDao  dao;
	


	@Override
	public void add(TeacherEntity entity) {
		
		dao.add(entity);
	}

}
